import request from './http.js'
// 泵站概况
export const siteInfo = (params) => request({url: '/getSiteInfo',params})
// 设备状态
export const getDeviceStatus = (params) => request({url: '/getDeviceStatus',params})
// 近30条报警情况
export const getAlarmMonitoring = (params) => request({url: '/getAlarmMonitoring',params})
// 近30天水厂能耗总览
export const getEnergyConsume = (params) => request({url: '/getEnergyConsume',params})
// 发电情况
export const getPowerGeneration = (params) => request({url: '/getPowerGeneration',params})
// 今日实时功率
export const getPowerToday = (params) => request({url: '/getPowerToday',params})
// 中间模型
export const getCenterModelInfo = (params) => request({url: '/getCenterModelInfo',params})